import service from "@/api/request"

export const useCategoryListApi = (data:any) => {
    return service.post("/category/page",data);
};

export const useFamilyTreeApi = (data:any) => {
    return service.get("/category/family/directory/"+data);
};